<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>hello</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<!--获取变量值-->
<p th:text="'Hello！, ' + ${name} + '!'" >3333</p>
<!-- 对象传值 -->
<p th:text="'Hello！, ' + ${Customer.name} + '!'" >3333</p>

<a th:if="${name == 'Dear'}" th:href="@{/jump/{type}(type=${type})}" >Login</a>

<a th:text="${#dates.format(#dates.createNow(), 'dd/MMM/yyyy HH:mm')}"></a>


</body>
</html>